{% load static from staticfiles %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>网站后台管理</title>
    <link rel="stylesheet" href="{% static 'admin/css/bootstrap.min.css' %}">
    <link rel="stylesheet" href="{% static 'admin/css/bootstrap-responsive.min.css' %}">
    <link rel="stylesheet" href="{% static 'admin/css/site.css' %}">
    <link rel="stylesheet" href="{% static 'admin/css/shop.css' %}">
</head>
<body>
    <div class="container">
        <!-- 页头开始 -->
        <div class="navbar">
            <div class="navbar-inner">
                <div class="container">
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="#">网站后台管理</a>
                        <ul class="nav pull-right">
                            <li>
                                <a href="">@{{ request.session.adminuser }} </a>
                            </li>
                            <li>
                                <a href="{% url 'myadmin_logout' %}">退出</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div><!-- 页头结束-->
        <div class="row">
            <div class="span3">
                <!-- 侧边导航开始 -->
                <div class="well" style="padding: 8px 0;">
                    <ul class="nav nav-list">
                        <li class="nav-header">
                            导航栏
                        </li>
                        <li class="active">
                            <a href="{% url 'myadmin_index' %}"><i class="icon-white icon-home"></i> 首页</a>
                        </li>
                        <li class="nav-header">
                            会员管理
                        </li>
                        <li>
                            <a href="{% url 'myadmin_users_index' 1 %}"><i class="icon-folder-open"></i> 浏览会员</a>
                        </li>
                        <li>
                            <a href="{% url 'myadmin_users_add' %}"><i class="icon-check"></i>添加会员</a>
                        </li>
                        <li class="nav-header">
                            商品类别管理
                        </li>
                        <li>
                            <a href="{% url 'myadmin_types_index' %}"><i class="icon-user"></i> 浏览商品类别</a>
                        </li>
                        <li>
                            <a href="{% url 'myadmin_types_add' 0 %}"><i class="icon-cog"></i> 添加商品类别</a>
                        </li>
                        <li class="nav-header">
                            商品信息管理
                        </li>
                        <li>
                            <a href="{% url 'myadmin_goods_index' 1 %}"><i class="icon-picture"></i> 浏览商品信息</a>
                        </li>
                        <li>
                            <a href="{% url 'myadmin_goods_add' %}"><i class="icon-stop"></i> 添加商品信息</a>
                        </li>
                    </ul>
                </div><!-- 侧边导航结束 -->
            </div>
            <div class="span9">
                <!-- 主体开始 -->
                {% block mainbody %}
                {% endblock %}
                <!-- 主体结束 -->
            </div>
        </div>
    </div>
    <script src="{% static 'admin/js/jquery.min.js' %}"></script>
    <script src="{% static 'admin/js/bootstrap.min.js' %}"></script>
    <script src="{% static 'admin/js/site.js' %}"></script>
</body>
</html>